/* 公共部分样式 */
/* 设置清除浮动元素影响 */
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

/* 左浮动 */
.fl {
    float: left;
}

/* 右浮动 */
.fr {
    float: right;
}

/* 版心部分 */
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 顶部公共部分样式 */
/* 顶部导航部分 */
#headerTop {
    height: 35px;
    background-color: #242933;
}

#headerTop .headerTopLeftNav {
    margin-left: 170px;
}

#headerTop .headerTopLeftNav li {
    float: left;
    padding: 0 10px;
    line-height: 35px;
}

#headerTop .headerTopLeftNav li:hover {
    background: #12141a;
}

#headerTop .headerTopLeftNav li:hover a {
    font-weight: bold;
    color: #9baeb8;
}

#headerTop .headerTopLeftNav li a {
    text-decoration: none;
    color: #7D8F99;
    font-size: 14px;
}

#headerTop .headerTopRightNav {
    margin-left: 220px;
}

#headerTop .headerTopRightNav li {
    float: left;
    padding: 0 10px;
    line-height: 35px;
}

#headerTop .headerTopRightNav li:hover {
    background: #12141a;
}

#headerTop .headerTopRightNav li:hover a {
    font-weight: bold;
    color: #9baeb8;
}

#headerTop .headerTopRightNav li a {
    text-decoration: none;
    color: #7D8F99;
    font-size: 14px;
}

#headerTop .headerTopUserMessage {
    margin-right: 170px;
}

#headerTop .headerTopUserMessage li {
    float: left;
    padding: 0 10px;
    line-height: 35px;
    color: #7D8F99;
    font-size: 14px;
}

#headerTop .headerTopUserMessage li>img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* 顶部logo搜索部分样式 */
#header {
    height: 86px;
    display: flex;
    justify-content: space-evenly;
    position: relative;
}

#header .logo {
    width: 245px;
    height: 75px;
    margin-top: 5.5px;
}

#header .logo a {
    text-decoration: none;
    color: #242933;
    font-weight: bold;
}

#header .logo img {
    width: 75px;
    height: 75px;
}

#header .logo .rightText h3 {
    font-size: 28px;
    line-height: 50px;
}

#header .logo .rightText span {
    font-size: 12px;
}

/* 商品名称及展示部分样式 */
#header .proNameNav li {
    float: left;
    padding: 0 21px;
    text-align: center;
    line-height: 86px;
    font-size: 14px;
    color: #242933;
    font-weight: bold;
}

#header .proNameNav li:hover {
    color: #415FFF;
}

#header .proNav {
    position: absolute;
    width: 100%;
    height: 520px;
    background: white;
    top: 86px;
    overflow: hidden;
    z-index: 3;
}

#header .proNav .proNavItem {
    width: 225px;
    height: 207.5px;
    background-color: #e7e7e7;
    border-radius: 20px;
    opacity: 0.7;
    padding-top: 27.5px;
    float: left;
    margin: 10px 37.5px;
}

#header .proNav .proNavItem .proNavItemImg {
    height: 180px;
    width: 170px;
    margin: 0 auto;
}

#header .proNav .proNavItem .proNavItemImg img {
    width: 100%;
    height: 100%;
}

#header .proNav .proNavItem>span {
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 搜索部分样式 */
#header .search {
    width: 34px;
    height: 34px;
    margin-top: 15px;
    border-radius: 14px;
    overflow: hidden;
    padding: 6px;
}

#header .search img {
    width: 28px;
    height: 28px;
}

#header .search:hover img {
    cursor: pointer;
    width: 35px;
    height: 35px;
    filter: drop-shadow(#415FFF);
}

/* 搜索展开样式 */
#header .searchPro {
    position: absolute;
    width: 600px;
    height: 45px;
    top: 15px;
    right: 50px;
    background: white;
    border-radius: 10px;
    display: none;
}

#header .searchPro>input {
    width: 600px;
    height: 45px;
    border: none;
    outline: none;
    border-bottom: 2px solid #F0F2F5;
    background: transparent;
}

#header .searchPro>input::placeholder {
    padding-left: 10px;
}

body {
    position: relative;
    background: #F6F6F6;
}

/* 轮播图大小样式 */
.swiper {
    width: 100%;
    height: 522px;
}

/* 轮播图中的各种商品分类样式 */
#category {
    width: 200px;
    height: 482px;
    background-color: #DBEBF5;
    opacity: 0.65;
    position: absolute;
    top: 140px;
    left: 100px;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: scroll;
}

#category::-webkit-scrollbar {
    display: none;
}

#category>li {
    width: 200px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 16px;
    color: #252525;
}

#category>li:hover {
    background: white;
}

#category>li>.commodityType>span:hover {
    cursor: pointer;
    color: red;
}

/* 各种商品分类显示信息样式 */
#classifiedInformation {
    width: 200px;
    height: 482px;
    background-color: white;
    opacity: 0.65;
    position: absolute;
    top: 140px;
    left: 300px;
    z-index: 1;
    display: none;
}

#classifiedInformation h3 {
    margin: 20px;
    color: #252525;
    font-size: 18px;
    text-decoration: underline;
}

#classifiedInformation .information {
    margin-left: 20px;
}

#classifiedInformation .information span {
    width: 60px;
    font-size: 14px;
    display: inline-block;
    margin: 10px;
}

#classifiedInformation .information span:hover {
    color: red;
    cursor: pointer;
}

/* 轮播下的卡片图样式 */
#cardFigure {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow: hidden;
    margin: 15px 0 30px 0;
}

#cardFigure .cardFigureItem {
    width: 400px;
    height: 190px;
    background: linear-gradient(to right, #FCA6C0, #FFD1DD);
    border-radius: 20px;
}

#cardFigure .cardFigureItem:hover {
    box-shadow: 5px 5px 5px #e0e0e0;
    cursor: pointer;
}

#cardFigure .cardFigureItem .cardFigureLeft {
    margin-top: 35px;
    width: 125px;
    height: 125px;
    padding-left: 60px;
    padding-right: 50px;
}

#cardFigure .cardFigureItem .cardFigureLeft>img {
    width: 100%;
    height: 100%;
}

#cardFigure .cardFigureItem .cardFigureRight {
    margin-top: 50px;
}

#cardFigure .cardFigureItem .cardFigureRight>h2 {
    font-weight: bold;
    font-size: 26px;
    color: white;
}

#cardFigure .cardFigureItem .cardFigureRight>p {
    font-size: 22px;
    color: white;
    margin: 15px 0;
}

#cardFigure .cardFigureItem .cardFigureRight>button {
    background: white;
    border: none;
    outline: none;
    width: 50px;
    height: 20px;
    border-radius: 10px;
    line-height: 20px;
    color: #FCA6C0;
}

/* 首页导航菜单样式 */
#navMenu {
    height: 46px;
    background: #242933;
}

#navMenu .navMenuItem>li {
    float: left;
    width: 220px;
    height: 46px;
    color: white;
    font-size: 18px;
    line-height: 46px;
    text-align: center;
}

#navMenu .navMenuItem>li:hover {
    cursor: pointer;
    background: #552f12;
    color: #6f7d97;
}

#navMenu .navMenuItem .active {
    background: #552f12;
}

/* 底部样式 */
#flooter {
    height: 190px;
    background: #242933;
    margin-top: 80px;
    padding-top: 50px;
    position: relative;
}

#flooter .flooterLeft {
    display: flex;
    justify-content: center;
}

#flooter .flooterLeft>img {
    width: 112px;
    height: 112px;
}

#flooter .flooterLeft .Text {
    margin-left: 20px;
    margin-top: 10px;
}

#flooter .flooterLeft .Text>h2 {
    font-size: 36px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

#flooter .flooterLeft .Text p {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
}

#flooter .flooterBottom {
    margin-top: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
}

#flooter .flooterBottom img {
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

#flooter .flooterBottom span {
    color: white;
    font-size: 18px;
    line-height: 30px;
}

#flooter>img {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

/* 查看更多按钮样式 */
#viewMore {
    display: block;
    width: 250px;
    height: 70px;
    border: none;
    outline: none;
    background: #242933;
    border-radius: 35px;
    font-size: 24px;
    color: white;
    margin: 0 auto;
    margin-top: 125px;
}

#viewMore:hover {
    cursor: pointer;
}

/* 回到顶部样式 */
#backTop {
    width: 60px;
    height: 60px;
    background-color: #242933;
    border-radius: 30px;
    color: white;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    position: fixed;
    top: 50%;
    right: 50px;
    cursor: pointer;
    z-index: 5;
}